FROM daocloud.io/library/ubuntu:16.04

MAINTAINER hackcat <121430615@qq.com>

ADD sources.list /etc/apt/sources.list

RUN apt-get update && \
    apt-get -y upgrade && \
    apt-get install -y python \
                        python-dev \
                        python-pip  \
    && apt-get clean \
    && apt-get autoclean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN mkdir -p /app
WORKDIR /app
EXPOSE 80
CMD ["bash"]